}
if (global_opts.debug_level >= 1) {
warning("Including waypoint %s at dist:%f lat:%f lon:%f\n",
- CSTRc(wp->shortname), ed->distance, wp->latitude, wp->longitude);
+ qPrintable(wp->shortname), ed->distance, wp->latitude, wp->longitude);
}
}
xfree(ed);
wp_array = (Waypoint**) xcalloc(total, sizeof(*wp_array));
if (global_opts.debug_level >= DBGLVL_L) {
warning(MYNAME ": route '%s' %u points, %u shape points\n",
- CSTRc(route->rte_name), route_total, shape_total);
+ qPrintable(route->rte_name), route_total, shape_total);
}
message_free(&msg_array[0]);
for (i = 1; i < msg_array_n; i++) {
if (exif_wpt_ref != NULL) {
QString str = exif_time_str(exif_wpt_ref->creation_time.toTime_t());
warning(MYNAME ": Best is from %s, %d second(s) away.\n",
- CSTR(str), abs(exif_time_ref - exif_wpt_ref->creation_time.toTime_t()));
+ qPrintable(str), abs(exif_time_ref - exif_wpt_ref->creation_time.toTime_t()));
}
exif_wpt_ref = NULL;
}
if (fabs(dist) > 100) {
warning(MYNAME ": Route point mismatch!\n");
warning(MYNAME ": \"%s\" from waypoints differs to \"%s\"\n",
- CSTRc(tmp->shortname), CSTRc(ref->shortname));
+ qPrintable(tmp->shortname), qPrintable(ref->shortname));
fatal(MYNAME ": from route table by more than %0.1f meters!\n",
dist);